﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Leo.Common
{
    public class FuncResult<T> : FuncResult
    {
        public T Data { get; set; }

        public static implicit operator FuncResult<T>(T data)
        {
            return FuncResult.Success<T>(data, null);
        }
    }
}
